#line 1 "app\\main.c"
























 
#line 1 ".\\src\\Config.h"























 









 














 
typedef unsigned char  BOOLEAN;                                          
typedef unsigned char  INT8U;                                            
typedef signed   char  INT8S;                                            
typedef unsigned short INT16U;                                           
typedef signed   short INT16S;                                           
typedef unsigned long  INT32U;                                           
typedef signed   long  INT32S;                                           
typedef float          FP32;                                             
typedef double         FP64;                                             

typedef unsigned long  uint32;                                           
typedef signed   long  int32s;                                           
typedef unsigned short uint16;                                           
typedef unsigned char  uint8;                                            


 
#line 1 "D:\\SOFTWARE\\keil\\ARM\\RV31\\INC\\stdio.h"
 
 
 





 






 









#line 34 "D:\\SOFTWARE\\keil\\ARM\\RV31\\INC\\stdio.h"


  
  typedef unsigned int size_t;    








 
 

 
  typedef struct __va_list __va_list;





   




 




typedef struct __fpos_t_struct {
    unsigned __int64 __pos;
    



 
    struct {
        unsigned int __state1, __state2;
    } __mbstate;
} fpos_t;
   


 


   

 

typedef struct __FILE FILE;
   






 

extern FILE __stdin, __stdout, __stderr;
extern FILE *__aeabi_stdin, *__aeabi_stdout, *__aeabi_stderr;

#line 125 "D:\\SOFTWARE\\keil\\ARM\\RV31\\INC\\stdio.h"
    

    

    





     



   


 


   


 

   



 

   


 




   


 





    


 






extern __declspec(__nothrow) int remove(const char *  ) __attribute__((__nonnull__(1)));
   





 
extern __declspec(__nothrow) int rename(const char *  , const char *  ) __attribute__((__nonnull__(1,2)));
   








 
extern __declspec(__nothrow) FILE *tmpfile(void);
   




 
extern __declspec(__nothrow) char *tmpnam(char *  );
   











 

extern __declspec(__nothrow) int fclose(FILE *  ) __attribute__((__nonnull__(1)));
   







 
extern __declspec(__nothrow) int fflush(FILE *  );
   







 
extern __declspec(__nothrow) FILE *fopen(const char * __restrict  ,
                           const char * __restrict  ) __attribute__((__nonnull__(1,2)));
   








































 
extern __declspec(__nothrow) FILE *freopen(const char * __restrict  ,
                    const char * __restrict  ,
                    FILE * __restrict  ) __attribute__((__nonnull__(2,3)));
   








 
extern __declspec(__nothrow) void setbuf(FILE * __restrict  ,
                    char * __restrict  ) __attribute__((__nonnull__(1)));
   




 
extern __declspec(__nothrow) int setvbuf(FILE * __restrict  ,
                   char * __restrict  ,
                   int  , size_t  ) __attribute__((__nonnull__(1)));
   















 
#pragma __printf_args
extern __declspec(__nothrow) int fprintf(FILE * __restrict  ,
                    const char * __restrict  , ...) __attribute__((__nonnull__(1,2)));
   


















 
#pragma __printf_args
extern __declspec(__nothrow) int _fprintf(FILE * __restrict  ,
                     const char * __restrict  , ...) __attribute__((__nonnull__(1,2)));
   



 
#pragma __printf_args
extern __declspec(__nothrow) int printf(const char * __restrict  , ...) __attribute__((__nonnull__(1)));
   




 
#pragma __printf_args
extern __declspec(__nothrow) int _printf(const char * __restrict  , ...) __attribute__((__nonnull__(1)));
   



 
#pragma __printf_args
extern __declspec(__nothrow) int sprintf(char * __restrict  , const char * __restrict  , ...) __attribute__((__nonnull__(1,2)));
   






 
#pragma __printf_args
extern __declspec(__nothrow) int _sprintf(char * __restrict  , const char * __restrict  , ...) __attribute__((__nonnull__(1,2)));
   



 

#pragma __printf_args
extern __declspec(__nothrow) int snprintf(char * __restrict  , size_t  ,
                     const char * __restrict  , ...) __attribute__((__nonnull__(3)));
   















 

#pragma __printf_args
extern __declspec(__nothrow) int _snprintf(char * __restrict  , size_t  ,
                      const char * __restrict  , ...) __attribute__((__nonnull__(3)));
   



 
#pragma __scanf_args
extern __declspec(__nothrow) int fscanf(FILE * __restrict  ,
                    const char * __restrict  , ...) __attribute__((__nonnull__(1,2)));
   






























 
#pragma __scanf_args
extern __declspec(__nothrow) int _fscanf(FILE * __restrict  ,
                     const char * __restrict  , ...) __attribute__((__nonnull__(1,2)));
   



 
#pragma __scanf_args
extern __declspec(__nothrow) int scanf(const char * __restrict  , ...) __attribute__((__nonnull__(1)));
   






 
#pragma __scanf_args
extern __declspec(__nothrow) int _scanf(const char * __restrict  , ...) __attribute__((__nonnull__(1)));
   



 
#pragma __scanf_args
extern __declspec(__nothrow) int sscanf(const char * __restrict  ,
                    const char * __restrict  , ...) __attribute__((__nonnull__(1,2)));
   








 
#pragma __scanf_args
extern __declspec(__nothrow) int _sscanf(const char * __restrict  ,
                     const char * __restrict  , ...) __attribute__((__nonnull__(1,2)));
   



 

 
extern __declspec(__nothrow) int vfscanf(FILE * __restrict  , const char * __restrict  , __va_list) __attribute__((__nonnull__(1,2)));
extern __declspec(__nothrow) int vscanf(const char * __restrict  , __va_list) __attribute__((__nonnull__(1)));
extern __declspec(__nothrow) int vsscanf(const char * __restrict  , const char * __restrict  , __va_list) __attribute__((__nonnull__(1,2)));

extern __declspec(__nothrow) int _vfscanf(FILE * __restrict  , const char * __restrict  , __va_list) __attribute__((__nonnull__(1,2)));
extern __declspec(__nothrow) int _vscanf(const char * __restrict  , __va_list) __attribute__((__nonnull__(1)));
extern __declspec(__nothrow) int _vsscanf(const char * __restrict  , const char * __restrict  , __va_list) __attribute__((__nonnull__(1,2)));

extern __declspec(__nothrow) int vprintf(const char * __restrict  , __va_list  ) __attribute__((__nonnull__(1)));
   





 
extern __declspec(__nothrow) int _vprintf(const char * __restrict  , __va_list  ) __attribute__((__nonnull__(1)));
   



 
extern __declspec(__nothrow) int vfprintf(FILE * __restrict  ,
                    const char * __restrict  , __va_list  ) __attribute__((__nonnull__(1,2)));
   






 
extern __declspec(__nothrow) int vsprintf(char * __restrict  ,
                     const char * __restrict  , __va_list  ) __attribute__((__nonnull__(1,2)));
   






 

extern __declspec(__nothrow) int vsnprintf(char * __restrict  , size_t  ,
                     const char * __restrict  , __va_list  ) __attribute__((__nonnull__(3)));
   







 

extern __declspec(__nothrow) int _vsprintf(char * __restrict  ,
                      const char * __restrict  , __va_list  ) __attribute__((__nonnull__(1,2)));
   



 
extern __declspec(__nothrow) int _vfprintf(FILE * __restrict  ,
                     const char * __restrict  , __va_list  ) __attribute__((__nonnull__(1,2)));
   



 
extern __declspec(__nothrow) int _vsnprintf(char * __restrict  , size_t  ,
                      const char * __restrict  , __va_list  ) __attribute__((__nonnull__(3)));
   



 
extern __declspec(__nothrow) int fgetc(FILE *  ) __attribute__((__nonnull__(1)));
   







 
extern __declspec(__nothrow) char *fgets(char * __restrict  , int  ,
                    FILE * __restrict  ) __attribute__((__nonnull__(1,3)));
   










 
extern __declspec(__nothrow) int fputc(int  , FILE *  ) __attribute__((__nonnull__(2)));
   







 
extern __declspec(__nothrow) int fputs(const char * __restrict  , FILE * __restrict  ) __attribute__((__nonnull__(1,2)));
   




 
extern __declspec(__nothrow) int getc(FILE *  ) __attribute__((__nonnull__(1)));
   







 




    extern __declspec(__nothrow) int (getchar)(void);

   





 
extern __declspec(__nothrow) char *gets(char *  ) __attribute__((__nonnull__(1)));
   









 
extern __declspec(__nothrow) int putc(int  , FILE *  ) __attribute__((__nonnull__(2)));
   





 




    extern __declspec(__nothrow) int (putchar)(int  );

   



 
extern __declspec(__nothrow) int puts(const char *  ) __attribute__((__nonnull__(1)));
   





 
extern __declspec(__nothrow) int ungetc(int  , FILE *  ) __attribute__((__nonnull__(2)));
   






















 

extern __declspec(__nothrow) size_t fread(void * __restrict  ,
                    size_t  , size_t  , FILE * __restrict  ) __attribute__((__nonnull__(1,4)));
   











 

extern __declspec(__nothrow) size_t __fread_bytes_avail(void * __restrict  ,
                    size_t  , FILE * __restrict  ) __attribute__((__nonnull__(1,3)));
   











 

extern __declspec(__nothrow) size_t fwrite(const void * __restrict  ,
                    size_t  , size_t  , FILE * __restrict  ) __attribute__((__nonnull__(1,4)));
   







 

extern __declspec(__nothrow) int fgetpos(FILE * __restrict  , fpos_t * __restrict  ) __attribute__((__nonnull__(1,2)));
   








 
extern __declspec(__nothrow) int fseek(FILE *  , long int  , int  ) __attribute__((__nonnull__(1)));
   














 
extern __declspec(__nothrow) int fsetpos(FILE * __restrict  , const fpos_t * __restrict  ) __attribute__((__nonnull__(1,2)));
   










 
extern __declspec(__nothrow) long int ftell(FILE *  ) __attribute__((__nonnull__(1)));
   











 
extern __declspec(__nothrow) void rewind(FILE *  ) __attribute__((__nonnull__(1)));
   





 

extern __declspec(__nothrow) void clearerr(FILE *  ) __attribute__((__nonnull__(1)));
   




 

extern __declspec(__nothrow) int feof(FILE *  ) __attribute__((__nonnull__(1)));
   


 
extern __declspec(__nothrow) int ferror(FILE *  ) __attribute__((__nonnull__(1)));
   


 
extern __declspec(__nothrow) void perror(const char *  );
   









 

extern __declspec(__nothrow) int _fisatty(FILE *   ) __attribute__((__nonnull__(1)));
    
 

extern __declspec(__nothrow) void __use_no_semihosting_swi(void);
extern __declspec(__nothrow) void __use_no_semihosting(void);
    





 











#line 944 "D:\\SOFTWARE\\keil\\ARM\\RV31\\INC\\stdio.h"



 
#line 68 ".\\src\\Config.h"
#line 1 "D:\\SOFTWARE\\keil\\ARM\\RV31\\INC\\ctype.h"
 
 
 
 





 






 







#line 32 "D:\\SOFTWARE\\keil\\ARM\\RV31\\INC\\ctype.h"






#line 46 "D:\\SOFTWARE\\keil\\ARM\\RV31\\INC\\ctype.h"

 
#line 56 "D:\\SOFTWARE\\keil\\ARM\\RV31\\INC\\ctype.h"

 
 









 
#line 78 "D:\\SOFTWARE\\keil\\ARM\\RV31\\INC\\ctype.h"





#line 130 "D:\\SOFTWARE\\keil\\ARM\\RV31\\INC\\ctype.h"

extern __declspec(__nothrow) __pure unsigned char **__rt_ctype_table(void);







    extern int (isalnum)(int  );

     





    extern int (isalpha)(int  );

     





    extern int (iscntrl)(int  );

     
     

 




    extern int (isdigit)(int  );

     

    extern int (isblank)(int  );
     
     
     





    extern int (isgraph)(int  );

     





    extern int (islower)(int  );

     





    extern int (isprint)(int  );

     
     





    extern int (ispunct)(int  );

     





    extern int (isspace)(int  );

     





    extern int (isupper)(int  );

     

 
 

__inline int __isxdigit_helper(int __t) { return (__t ^ (__t << 2)); }




    extern int (isxdigit)(int  );

     



extern int tolower(int  );
     
     

extern int toupper(int  );
     
     







#line 269 "D:\\SOFTWARE\\keil\\ARM\\RV31\\INC\\ctype.h"



 
#line 69 ".\\src\\Config.h"
#line 1 "D:\\SOFTWARE\\keil\\ARM\\RV31\\INC\\stdlib.h"
 
 
 




 
 



 












  


 








#line 45 "D:\\SOFTWARE\\keil\\ARM\\RV31\\INC\\stdlib.h"


  
  typedef unsigned int size_t;










    



    typedef unsigned short wchar_t;  
#line 74 "D:\\SOFTWARE\\keil\\ARM\\RV31\\INC\\stdlib.h"

typedef struct div_t { int quot, rem; } div_t;
    
typedef struct ldiv_t { long int quot, rem; } ldiv_t;
    

typedef struct lldiv_t { __int64 quot, rem; } lldiv_t;
    


#line 95 "D:\\SOFTWARE\\keil\\ARM\\RV31\\INC\\stdlib.h"
   



 

   




 
#line 114 "D:\\SOFTWARE\\keil\\ARM\\RV31\\INC\\stdlib.h"
   


 
extern __declspec(__nothrow) int __aeabi_MB_CUR_MAX(void);

   




 

   




 




extern __declspec(__nothrow) double atof(const char *  ) __attribute__((__nonnull__(1)));
   



 
extern __declspec(__nothrow) int atoi(const char *  ) __attribute__((__nonnull__(1)));
   



 
extern __declspec(__nothrow) long int atol(const char *  ) __attribute__((__nonnull__(1)));
   



 

extern __declspec(__nothrow) __int64 atoll(const char *  ) __attribute__((__nonnull__(1)));
   



 


extern __declspec(__nothrow) double strtod(const char * __restrict  , char ** __restrict  ) __attribute__((__nonnull__(1)));
   

















 

extern __declspec(__nothrow) float strtof(const char * __restrict  , char ** __restrict  ) __attribute__((__nonnull__(1)));
extern __declspec(__nothrow) long double strtold(const char * __restrict  , char ** __restrict  ) __attribute__((__nonnull__(1)));
   

 

extern __declspec(__nothrow) long int strtol(const char * __restrict  ,
                        char ** __restrict  , int  ) __attribute__((__nonnull__(1)));
   



























 
extern __declspec(__nothrow) unsigned long int strtoul(const char * __restrict  ,
                                       char ** __restrict  , int  ) __attribute__((__nonnull__(1)));
   


























 

 
extern __declspec(__nothrow) __int64 strtoll(const char * __restrict  ,
                               char ** __restrict  , int  ) __attribute__((__nonnull__(1)));
   




 
extern __declspec(__nothrow) unsigned __int64 strtoull(const char * __restrict  ,
                                         char ** __restrict  , int  ) __attribute__((__nonnull__(1)));
   



 

extern __declspec(__nothrow) int rand(void);
   







 
extern __declspec(__nothrow) void srand(unsigned int  );
   






 

extern __declspec(__nothrow) void *calloc(size_t  , size_t  );
   



 
extern __declspec(__nothrow) void free(void *  );
   





 
extern __declspec(__nothrow) void *malloc(size_t  );
   



 
extern __declspec(__nothrow) void *realloc(void *  , size_t  );
   













 
typedef int (*__heapprt)(void *, char const *, ...);
extern __declspec(__nothrow) void __heapstats(int (*  )(void *  ,
                                           char const *  , ...),
                        void *  ) __attribute__((__nonnull__(1)));
   










 
extern __declspec(__nothrow) int __heapvalid(int (*  )(void *  ,
                                           char const *  , ...),
                       void *  , int  ) __attribute__((__nonnull__(1)));
   














 
extern __declspec(__nothrow) __declspec(__noreturn) void abort(void);
   







 

extern __declspec(__nothrow) int atexit(void (*  )(void)) __attribute__((__nonnull__(1)));
   




 
#line 389 "D:\\SOFTWARE\\keil\\ARM\\RV31\\INC\\stdlib.h"


extern __declspec(__nothrow) __declspec(__noreturn) void exit(int  );
   












 

extern __declspec(__nothrow) __declspec(__noreturn) void _Exit(int  );
   







      

extern __declspec(__nothrow) char *getenv(const char *  ) __attribute__((__nonnull__(1)));
   









 

extern __declspec(__nothrow) int  system(const char *  );
   









 

extern  void *bsearch(const void *  , const void *  ,
              size_t  , size_t  ,
              int (*  )(const void *, const void *)) __attribute__((__nonnull__(1,2,5)));
   












 
#line 477 "D:\\SOFTWARE\\keil\\ARM\\RV31\\INC\\stdlib.h"


extern  void qsort(void *  , size_t  , size_t  ,
           int (*  )(const void *, const void *)) __attribute__((__nonnull__(1,4)));
   









 

#line 506 "D:\\SOFTWARE\\keil\\ARM\\RV31\\INC\\stdlib.h"

extern __declspec(__nothrow) __pure int abs(int  );
   



 

extern __declspec(__nothrow) __pure div_t div(int  , int  );
   









 
extern __declspec(__nothrow) __pure long int labs(long int  );
   



 




extern __declspec(__nothrow) __pure ldiv_t ldiv(long int  , long int  );
   











 







extern __declspec(__nothrow) __pure __int64 llabs(__int64  );
   



 




extern __declspec(__nothrow) __pure lldiv_t lldiv(__int64  , __int64  );
   











 
#line 587 "D:\\SOFTWARE\\keil\\ARM\\RV31\\INC\\stdlib.h"



 
typedef struct __sdiv32by16 { int quot, rem; } __sdiv32by16;
typedef struct __udiv32by16 { unsigned int quot, rem; } __udiv32by16;
    
typedef struct __sdiv64by32 { int rem, quot; } __sdiv64by32;

__value_in_regs extern __declspec(__nothrow) __pure __sdiv32by16 __rt_sdiv32by16(
     int  ,
     short int  );
   

 
__value_in_regs extern __declspec(__nothrow) __pure __udiv32by16 __rt_udiv32by16(
     unsigned int  ,
     unsigned short  );
   

 
__value_in_regs extern __declspec(__nothrow) __pure __sdiv64by32 __rt_sdiv64by32(
     int  , unsigned int  ,
     int  );
   

 



 
extern __declspec(__nothrow) unsigned int __fp_status(unsigned int  , unsigned int  );
   







 























 
extern __declspec(__nothrow) int mblen(const char *  , size_t  );
   












 
extern __declspec(__nothrow) int mbtowc(wchar_t * __restrict  ,
                   const char * __restrict  , size_t  );
   















 
extern __declspec(__nothrow) int wctomb(char *  , wchar_t  );
   













 





 
extern __declspec(__nothrow) size_t mbstowcs(wchar_t * __restrict  ,
                      const char * __restrict  , size_t  ) __attribute__((__nonnull__(2)));
   














 
extern __declspec(__nothrow) size_t wcstombs(char * __restrict  ,
                      const wchar_t * __restrict  , size_t  ) __attribute__((__nonnull__(2)));
   














 

extern __declspec(__nothrow) void __use_realtime_heap(void);
extern __declspec(__nothrow) void __use_realtime_division(void);
extern __declspec(__nothrow) void __use_two_region_memory(void);
extern __declspec(__nothrow) void __use_no_heap(void);
extern __declspec(__nothrow) void __use_no_heap_region(void);

extern __declspec(__nothrow) char const *__C_library_version_string(void);
extern __declspec(__nothrow) int __C_library_version_number(void);











#line 832 "D:\\SOFTWARE\\keil\\ARM\\RV31\\INC\\stdlib.h"


 
#line 70 ".\\src\\Config.h"
#line 1 "D:\\SOFTWARE\\keil\\ARM\\RV31\\INC\\setjmp.h"
 






 

 
 






 












#line 38 "D:\\SOFTWARE\\keil\\ARM\\RV31\\INC\\setjmp.h"




typedef __int64 jmp_buf[48];     
                             
                             

extern const int __aeabi_JMP_BUF_SIZE;
              
 
 
 
 

extern __declspec(__nothrow) int setjmp(jmp_buf  ) __attribute__((__nonnull__(1)));
   




 


extern __declspec(__nothrow) __declspec(__noreturn) void longjmp(jmp_buf  , int  ) __attribute__((__nonnull__(1)));
   


















 











#line 102 "D:\\SOFTWARE\\keil\\ARM\\RV31\\INC\\setjmp.h"



 
#line 71 ".\\src\\Config.h"
#line 1 "D:\\SOFTWARE\\keil\\ARM\\RV31\\INC\\rt_misc.h"







 











 
extern void _getenv_init(void);




 
extern void _clock_init(void);





 

extern void *__user_libspace(void);









 
struct __argc_argv {
    int argc;
    char **argv;
    int r2, r3;
};
extern __value_in_regs struct __argc_argv
__rt_lib_init(unsigned  , unsigned  );









 
__value_in_regs struct __argc_argv __ARM_get_argv(void * );




 
extern void __rt_lib_shutdown(void);






 
extern void __rt_exit(int  );    













 
struct __initial_stackheap {
    unsigned heap_base;                 
    unsigned stack_base;                
    unsigned heap_limit;                
    unsigned stack_limit;               
};
extern __value_in_regs struct __initial_stackheap
__user_initial_stackheap(unsigned  , unsigned  ,
                         unsigned  , unsigned  );




 
struct __heap_extent {
    unsigned base, range;
};
extern __value_in_regs struct __heap_extent
__user_heap_extent(unsigned  , unsigned  );










 
struct __stack_slop {
    unsigned always, cleanup;
};
extern __value_in_regs struct __stack_slop
__user_stack_slop(unsigned  , unsigned  );








 
extern unsigned __user_heap_extend(int  ,
                                   void **  ,
                                   unsigned  );






 
int __raise(int  , int  );






 
int __default_signal_handler(int  , int  );





 
void __rt_raise(int  , int  );





#line 72 ".\\src\\Config.h"
 


 
#line 1 ".\\src\\LPC1100.h"





















 







 




















#line 59 ".\\src\\LPC1100.h"

#line 76 ".\\src\\LPC1100.h"



 








 
#line 106 ".\\src\\LPC1100.h"



 









 






 






#line 139 ".\\src\\LPC1100.h"












 


#line 166 ".\\src\\LPC1100.h"









 


#line 190 ".\\src\\LPC1100.h"








 


#line 213 ".\\src\\LPC1100.h"









 


#line 237 ".\\src\\LPC1100.h"








 





#line 261 ".\\src\\LPC1100.h"



 




 







 





 
#line 290 ".\\src\\LPC1100.h"



 


#line 302 ".\\src\\LPC1100.h"



 


#line 317 ".\\src\\LPC1100.h"



 











#line 341 ".\\src\\LPC1100.h"

#line 349 ".\\src\\LPC1100.h"

#line 358 ".\\src\\LPC1100.h"

#line 367 ".\\src\\LPC1100.h"










 
#line 390 ".\\src\\LPC1100.h"

#line 403 ".\\src\\LPC1100.h"

#line 416 ".\\src\\LPC1100.h"

#line 423 ".\\src\\LPC1100.h"



 




 





 





 













































#line 497 ".\\src\\LPC1100.h"










 
#line 517 ".\\src\\LPC1100.h"

#line 527 ".\\src\\LPC1100.h"

#line 537 ".\\src\\LPC1100.h"

#line 547 ".\\src\\LPC1100.h"

#line 557 ".\\src\\LPC1100.h"



 
#line 567 ".\\src\\LPC1100.h"




 
#line 583 ".\\src\\LPC1100.h"


#line 598 ".\\src\\LPC1100.h"
							  
#line 607 ".\\src\\LPC1100.h"





							  




                                                                                                                                                 


 








 

#line 77 ".\\src\\Config.h"
#line 1 ".\\src\\Target.h"























 







 


                                                                         
                                                                         










 







                                                                         
																		 






                                                                         

 


 





 














 
void defaultVectorHandle(void);








 
extern void targetInit(void);









 
#line 78 ".\\src\\Config.h"
#line 1 ".\\src\\Vector.h"























 





 



#line 52 ".\\src\\Vector.h"




 
#line 66 ".\\src\\Vector.h"

#line 77 ".\\src\\Vector.h"






#line 94 ".\\src\\Vector.h"

#line 102 ".\\src\\Vector.h"

#line 113 ".\\src\\Vector.h"

#line 136 ".\\src\\Vector.h"

#line 147 ".\\src\\Vector.h"

#line 158 ".\\src\\Vector.h"

#line 169 ".\\src\\Vector.h"

#line 180 ".\\src\\Vector.h"

#line 191 ".\\src\\Vector.h"

#line 202 ".\\src\\Vector.h"

#line 213 ".\\src\\Vector.h"

#line 224 ".\\src\\Vector.h"

#line 235 ".\\src\\Vector.h"

#line 246 ".\\src\\Vector.h"

#line 257 ".\\src\\Vector.h"







 
#line 79 ".\\src\\Config.h"
#line 1 ".\\src\\Interface.h"























 









 
#line 42 ".\\src\\Interface.h"



 
typedef long long   INT64S;                                              

#line 57 ".\\src\\Interface.h"



 











 
extern INT32S zyIfInit(void);










 
extern void zyReset(unsigned int uiMode);








 
extern __asm INT32S zyIrqDisable(void);








 
extern __asm INT32S zyIrqEnable(void);










 
extern INT32S zyIsrSet(unsigned int uiChannel, unsigned long ulFunction, unsigned int uiPrio);








 
extern INT32S zyIsrClr(unsigned int uiChannel);








 
extern INT32S zyIsrDisable(unsigned int uiChannel);








 
extern INT32S zyIsrEnable(unsigned int uiChannel);







 
extern void *zyHeapMalloc(INT32U ulSize);








 
extern INT32S zyHeapFree(void *pvPrt);









 
#line 80 ".\\src\\Config.h"
#line 1 ".\\src\\LPC1100Pin.h"





















 





 


 





















 






















 










                                                                        

                                                                        









 

                                                                        






                                                                        

                                                                        









 















 















 









                                                                        

                                                                        









 









                                                                        

                                                                        









 










                                                                        

                                                                        









 










                                                                        

                                                                        









 











                                                                        

                                                                        









 











                                                                        

                                                                        














 











                                                                        

                                                                        


                                                                        

                                                                        









 











                                                                        

                                                                        


                                                                        

                                                                        









 











                                                                        

                                                                        


                                                                        

                                                                        









 











                                                                        

                                                                        


                                                                        

                                                                        









 










                                                                        

                                                                        


                                                                        

                                                                        









 










                                                                        

                                                                        









 










                                                                        

                                                                        









 










                                                                        

                                                                        









 









                                                                        

                                                                        









 









                                                                        

                                                                        









 










                                                                        

                                                                        


                                                                        

                                                                        









 









                                                                        

                                                                        


                                                                        

                                                                        









 























 























 















                                                                      







 



 



















 





















 





















 





















 





















 





















 





















 





















 






















 






















 


 



















 






















 





















 




















 

























 
extern void pinInit(void);








 
extern void pconpInit(void);




 
#line 81 ".\\src\\Config.h"



 
#line 1 ".\\driver\\Uart.h"





 



 




#line 86 ".\\src\\Config.h"



 











 
#line 27 "app\\main.c"



 




 






 
void myDelay(INT32U ulTime)
{
    INT32U i;
    
    i = 0;
    while (ulTime--) {
      for (i = 0; i < 5000; i++);
    }
}






 
int main(void)
{
	targetInit();                                                        
    pinInit();                                                                                                                                
   	
    (*(volatile unsigned long *)(((0x40000000UL) + 0x48000) + 0x080)) |= (1<<6);                                             	

    (*(volatile unsigned long *)(((0x50000000UL) + 0x20000) + 0x8000)) |= (1<<7);

 	(*(volatile unsigned long *)(((0x50000000UL) + 0x00000) + 0x20000 + 0x3FFC)) = 1<<7;                           
    myDelay(40); 
 	(*(volatile unsigned long *)(((0x50000000UL) + 0x00000) + 0x20000 + 0x3FFC)) = 0<<7;                           
    myDelay(40); 
 	 while (1)
	 {  
        (*(volatile unsigned long *)(((0x50000000UL) + 0x00000) + 0x20000 + 0x3FFC)) &= ~(1<<7);                      
      	myDelay(400); 
        (*(volatile unsigned long *)(((0x50000000UL) + 0x00000) + 0x20000 + 0x3FFC)) |= (1<<7);                           
    	myDelay(400);  	                       
  	 }  
}



 
